@interface Sprite: UIView{
	NSMutableArray* images;
	int currentFrame;
	bool mirror;
}
-(id)initWithImage:(UIImage*)img mirror:(bool)p2;
-(id)initWithArray:(NSArray*)img mirror:(bool)p2;
- (id)initWithImage:(UIImage*)img withFrame:(int)f mirror:(bool)m;
- (Sprite*)initWithImage:(UIImage*)img withRow:(int)r andColumn:(int)c mirror:(bool)m;


-(void) move:(int) x2 y:(int) y2 ;
-(void)setCurrentFrame:(int)i;
-(int)getCurrentFrame;
-(void)setPosition:(int)x2 y:(int)y2;
-(void)paint;
-(int)getWidth;
-(CGImageRef)getCGImage:(int)f;
-(UIImage*)getImage:(int)f;
-(int)count;

@end